package com.dc.model;

import java.util.Date;

public class Flower {
    // 花卉id
    private Integer flower_id;
    // 花卉名称
    private String flower_name;
    // 分类id
    private Integer classify_id;
    // 介绍
    private String introduce;
    // 创建时间
    private Date create_time;
    // 修改时间
    private Date update_time;
    // 乐观锁
    private Integer version;
    // 是否删除
    private Integer is_delete;

    public Integer getFlower_id() {
        return flower_id;
    }

    public void setFlower_id(Integer flower_id) {
        this.flower_id = flower_id;
    }

    public String getFlower_name() {
        return flower_name;
    }

    public void setFlower_name(String flower_name) {
        this.flower_name = flower_name;
    }

    public Integer getClassify_id() {
        return classify_id;
    }

    public void setClassify_id(Integer classify_id) {
        this.classify_id = classify_id;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Flower{");
        sb.append("flower_id=").append(flower_id);
        sb.append(", flower_name='").append(flower_name).append('\'');
        sb.append(", classify_id=").append(classify_id);
        sb.append(", introduce='").append(introduce).append('\'');
        sb.append(", create_time=").append(create_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", version=").append(version);
        sb.append(", is_delete=").append(is_delete);
        sb.append('}');
        return sb.toString();
    }
}
